<?php
/**
 * TW Simply Scroll Module
 *
 * @version 1.0.0
 * @copyright Copyright (C) 2010 Tomsy Web. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @author Tomsy Web
 *
 */

// Check to ensure this file is within the rest of the framework
defined('JPATH_BASE') or die();

class JElementImagesList extends JElement
{
	/**
	* Element name
	*
	* @access	protected
	* @var		string
	*/
	var	$_name = 'ImagesList';

	function fetchElement($name, $value, &$node, $control_name)
	{
		$filter = '\.png$|\.jpeg$|\.gif$|\.jpg$|\.bmp$|\.ico$';
		$node->addAttribute('filter', $filter);

		$parameter =& $this->_parent->loadElement('fileslist');

		return $parameter->fetchElement($name, $value, $node, $control_name);
	}
}
